package com.ruoyi.teaching.domain;

import com.ruoyi.teaching.pojo.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;

/**
 * 班级对象 ya_class
 *
 * @author ruoyi
 * @date 2025-03-10
 */
public class YaClass extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 班级名字 */
    @Excel(name = "班级名字")
    private String className;

    /** 备注信息 */
    @Excel(name = "备注信息")
    private String remarks;

    /** 开班日期 */
    @Excel(name = "开班日期")
    private String beginDate;

    /** 休息日 */
    @Excel(name = "休息日")
    private Long restDay;

    /** 自习日 */
    @Excel(name = "自习日")
    private Long selfStudyDay;

    /** 毕业年份 */
    @Excel(name = "毕业年份")
    private String graduationYear;

    /** 专业 */
    @Excel(name = "专业")
    private String major;

    /** 班级类型(培训,实训) */
    @Excel(name = "班级类型(培训,实训)")
    private String type;

    /** 状态 1-未开班  2-已开班 3-已结班 */
    @Excel(name = "状态 1-未开班  2-已开班 3-已结班")
    private Integer status;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setClassName(String className)
    {
        this.className = className;
    }

    public String getClassName()
    {
        return className;
    }
    public void setRemarks(String remarks)
    {
        this.remarks = remarks;
    }

    public String getRemarks()
    {
        return remarks;
    }
    public void setBeginDate(String beginDate)
    {
        this.beginDate = beginDate;
    }

    public String getBeginDate()
    {
        return beginDate;
    }
    public void setRestDay(Long restDay)
    {
        this.restDay = restDay;
    }

    public Long getRestDay()
    {
        return restDay;
    }
    public void setSelfStudyDay(Long selfStudyDay)
    {
        this.selfStudyDay = selfStudyDay;
    }

    public Long getSelfStudyDay()
    {
        return selfStudyDay;
    }
    public void setGraduationYear(String graduationYear)
    {
        this.graduationYear = graduationYear;
    }

    public String getGraduationYear()
    {
        return graduationYear;
    }
    public void setMajor(String major)
    {
        this.major = major;
    }

    public String getMajor()
    {
        return major;
    }
    public void setType(String type)
    {
        this.type = type;
    }

    public String getType()
    {
        return type;
    }
    public void setStatus(Integer status)
    {
        this.status = status;
    }

    public Integer getStatus()
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("className", getClassName())
            .append("remarks", getRemarks())
            .append("beginDate", getBeginDate())
            .append("restDay", getRestDay())
            .append("selfStudyDay", getSelfStudyDay())
            .append("graduationYear", getGraduationYear())
            .append("major", getMajor())
            .append("type", getType())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("status", getStatus())
            .toString();
    }
}
